package com.dongke.mapper;

import com.dongke.pojo.Role1Menu1;
import com.dongke.pojo.Role1Menu1Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Role1Menu1Mapper {
    long countByExample(Role1Menu1Example example);

    int deleteByExample(Role1Menu1Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Role1Menu1 record);

    int insertSelective(Role1Menu1 record);

    List<Role1Menu1> selectByExample(Role1Menu1Example example);

    Role1Menu1 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Role1Menu1 record, @Param("example") Role1Menu1Example example);

    int updateByExample(@Param("record") Role1Menu1 record, @Param("example") Role1Menu1Example example);

    int updateByPrimaryKeySelective(Role1Menu1 record);

    int updateByPrimaryKey(Role1Menu1 record);

    int insertBatch(@Param("rid") Integer rid, @Param("mids") Integer[] mids);

    List<Integer> selectByRidByRid(Integer rid);
}